gtk-demo: Make the search bar appear for typing
authorMatthias Clasen <mclasen@redhat.com>
Sun, 12 Jul 2020 20:26:17 +0000 (16:26 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 12 Jul 2020 20:26:17 +0000 (16:26 -0400)
Having the search bar present from the start is
a bit jarring. Make it appear when called for.

demos/gtk-demo/main.ui

index 3d18e18bf398f2702994dbbc265d998c245f71d0..975e3ea1bc9b4ff76206a0a67bdeb363ab0388a3 100644 (file)
@@ -61,7 +61,7 @@
 
                 <child>
                   <object class="GtkSearchBar">
-                    <property name="search-mode-enabled">1</property>
+                    <property name="key-capture-widget">window</property>
                     <child>
                       <object class="GtkSearchEntry" id="search-entry"/>
                     </child>